package com.cc.app.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;

public abstract class TestView extends View implements Testable {

    protected boolean test;

    public TestView(Context context) {
        this(context, null);
    }

    public TestView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public void setTestMode(boolean test) {
        this.test = test;
    }

    @Override
    public void setVisible(boolean visible) {
        this.setVisibility(visible ? VISIBLE : INVISIBLE);
    }


    @Override
    public void action1() {

    }

    @Override
    public void action2() {

    }

    @Override
    public void action3() {

    }


}
